package com.cyclinggle.cloud.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Project       : ch9-1-config-client
 * @Program Name  : cn.springcloud.book.config.client.config.ConfigInfoProperties.java
 * @Description   : 配置信息
 * @Author        : wangchao
 * @Creation Date : 2019年3月29日 下午5:06:34 
 * @ModificationHistory  
 * Who          When             What 
 * ----------   -------------    -----------------------------------
 * wangchao     2019年3月29日        create
 */
@Component
@RefreshScope
@ConfigurationProperties(prefix = "cn.springcloud.book")
public class ConfigInfoProperties {

    private String config;

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }
}
